#pragma once
#include "activecomponentobj.h"
class DEF_MODELOBJ CInstrumentNumber :
	public CActiveComponentObj
{
public:
	CInstrumentNumber(void);
	CInstrumentNumber(CEntityObj* pParentEnt);
	CInstrumentNumber(CInstrumentNumber* pInstrumentNumber);
	~CInstrumentNumber(void);

public:
	virtual void Serialize(CArchive & ar);
	virtual CDisplayObj * CreateDisplayObj( long lLayerId );

public:
	void ChangeNumberColorByParam(double value);
	void ChangeInstrumentNumberColor(CString szUnit,int nNumber);
	void ClearColor();
};

